package com.cs.contract.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsCodeRules
 * @Date：2024/11/19 11:45
 * @Filename：CsCodeRules
 */
public class CsCodeRules extends BaseEntity {
    private static final long serialVersionUID = 4712392341151299954L;
    private Integer id;
    @Excel(name = "目标表单")
    private String targetForm;
    @Excel(name = "编号前缀")
    private String prefix;
    @Excel(name = "流水号")
    private Integer serialNumber;
    @Excel(name = "步长")
    private Integer step;
    @Excel(name = "编号规则")
    private String codeRules;
    @Excel(name = "操作人")
    private String operator;
    @Excel(name = "操作时间")
    private Date updateTime;
    @Excel(name = "年")
    private String year;
    @Excel(name = "月")
    private String mounth;
    @Excel(name = "日")
    private String day;
    @Excel(name = "时")
    private String hour;
    @Excel(name = "分")
    private String minute;
    @Excel(name = "秒")
    private String second;
    @Excel(name = "最大尾数")
    private String maxMantissa;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTargetForm() {
        return targetForm;
    }

    public void setTargetForm(String targetForm) {
        this.targetForm = targetForm;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public String getCodeRules() {
        return codeRules;
    }

    public void setCodeRules(String codeRules) {
        this.codeRules = codeRules;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMounth() {
        return mounth;
    }

    public void setMounth(String mounth) {
        this.mounth = mounth;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getMinute() {
        return minute;
    }

    public void setMinute(String minute) {
        this.minute = minute;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getMaxMantissa() {
        return maxMantissa;
    }

    public void setMaxMantissa(String maxMantissa) {
        this.maxMantissa = maxMantissa;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", id)
                .append("targetForm", targetForm)
                .append("prefix", prefix)
                .append("serialNumber", serialNumber)
                .append("step", step)
                .append("codeRules", codeRules)
                .append("operator", operator)
                .append("updateTime", updateTime)
                .append("year", year)
                .append("mounth", mounth)
                .append("day", day)
                .append("hour", hour)
                .append("minute", minute)
                .append("second", second)
                .append("maxMantissa", maxMantissa)
                .toString();
    }
}
